import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";

import {TagsEntity} from './tag.entity'
import {TagService} from './tag.service'
import {TagController} from './tag.controller'

@Module({
    imports:[TypeOrmModule.forFeature([TagsEntity])],
    providers:[TagService],
    controllers:[TagController],
    exports:[TagService]
})
export class TagModule{}